package sc.nio;

import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;

/**
 * Pairs a SocketChannel with data that was read from it.
 *
 * @author stephencarmody@gmail.com Stephen Carmody
 */
public class NioChannelData
{
	public SocketChannel channel;
	public ByteBuffer buffer;

	public NioChannelData(SocketChannel channel, ByteBuffer data)
	{
		this.channel = channel;
		this.buffer = data;
	}
}
